﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace VkVideoPlayer.UI.ViewModels
{
	// todo: add service resolve
	public class ViewModelLocator
	{
		public ViewModelLocator()
		{
			AuthViewModel = new AuthViewModel() { AppTitle = Application.Current.Resources["AppTitle"].ToString() };
			MainViewModel = new MainViewModel() { AppTitle = Application.Current.Resources["AppTitle"].ToString() };
		}


		private static ViewModelLocator instance;
		public static ViewModelLocator Instance
		{
			get { return instance ?? (instance = new ViewModelLocator()); }
		}


		public AuthViewModel AuthViewModel { get; set; }
		public MainViewModel MainViewModel { get; set; }
	}
}
